//
//  WKWebView.swift
//  WKWebView
//
//  Created by MoneyLee on 2020/8/28.
//  Copyright © 2020 MoneyLee. All rights reserved.
//

import UIKit
import WebKit


extension WKWebView {
    
    func load(_ url: String) {
        if let url = URL(string: url) {
            load(URLRequest(url: url))
        }
    }
    
}

